package fangzhiyi_day0321.homework.business;

/**
 * @author fangzhiyi
 * @version 1.0
 * @date 2025/3/21 18:34
 * @description
 */
public class Dep {
    private int number;
    private String depName;
    private String depDes;//部门介绍
    private int phone;//分机号

    public Dep() {
    }

    public Dep(int number, String depName, String depDes, int phone) {
        this.number = number;
        this.depName = depName;
        this.depDes = depDes;
        this.phone = phone;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public String getDepName() {
        return depName;
    }

    public void setDepName(String depName) {
        this.depName = depName;
    }

    public String getDepDes() {
        return depDes;
    }

    public void setDepDes(String depDes) {
        this.depDes = depDes;
    }

    public int getPhone() {
        return phone;
    }

    public void setPhone(int phone) {
        this.phone = phone;
    }

    @Override
    public String toString() {
        return "Dep{" +
                "number=" + number +
                ", depName='" + depName + '\'' +
                ", depDes='" + depDes + '\'' +
                ", phone=" + phone +
                '}';
    }
}
